package com.qijian.maindata.domain.query;


import com.qijian.common.utils.mybatis.WhereType;
import com.qijian.common.utils.mybatis.WhereTypeEnum;
import lombok.Data;

import java.util.List;
import java.util.Set;
import lombok.ToString;
import com.baomidou.mybatisplus.annotation.TableName;


/**
 * 辅助属性值对象 查询条件类
 *
 * @author qijian
 * @date 2022-01-13
 */

@Data
@ToString
@TableName("bi_product_attribute_item")
public class ProductAttributeItemQuery {

    @WhereType(filed = "id")
    private Long id;
    @WhereType(filed = "item_id")
    private Long itemId;
    @WhereType(filed = "item_name")
    private String itemName;
    @WhereType(filed = "item_code")
    private String itemCode;
    @WhereType(filed = "attr_id")
    private Long attrId;
    @WhereType(filed = "attr_name")
    private String attrName;
    @WhereType(filed = "is_disabled")
    private Boolean isDisabled;
    @WhereType(filed = "is_pre_insert")
    private Boolean isPreInsert;
    @WhereType(filed = "id", type = WhereTypeEnum.IN)
    private Set<Long> ids;

    @WhereType(filed = "item_id", type = WhereTypeEnum.IN)
    private List<Long> itemIdList;
}
